﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarriorRush.GameDynamics.SpecialAbilities
{
    public class Aggrovate : SpecialAbility
    {
        public Aggrovate()
            : base()
        {
            AbilityType = AbilityTypes.Aggrovate;
        }

        public override bool Execute(CharacterClass abilityTarget, Arena arena, List<CharacterClass> additonalTargets)
        {

            abilityTarget.TakeEffects(null, abilityTarget.Drain.GetInstance(abilityTarget.Drain.Power + Power));
            return base.Execute(abilityTarget, arena, additonalTargets);
        }

        public override SpecialAbility GetInstance(int power)
        {
            return new Aggrovate{Power = power};
        }
    }
}
